<input type="text" id="colorPicker" class="form-control" name="{$field}" value="{$value|default='#F9ACCF'}">

<script type="text/javascript">
$(document).ready( function() {
  $('#colorPicker').minicolors();
});
</script>
